Improve print to file options in print dialog
authorSebastian Geiger <sbastig@gmx.net>
Fri, 17 Aug 2012 23:04:22 +0000 (01:04 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 1 Sep 2012 02:50:28 +0000 (22:50 -0400)
commit4c67e71c63aca1770a6a486c30653f831a0191bd
tree470ce4e417343e057076e1734956ddba98e986ad
parent3e656f36b8a2a2a52be56626a882a42b5815af25
Improve print to file options in print dialog

* This patch gets rid of the separated
   fields for selecting a print to file
   target by removing the folder selection
   button and the entry. It is replaced by
   a browse button,  which opens a file
   selection dialog, that can select both
   the path AND the filename.
 * If the filename is relativ to the home
   folder it will substitute ~/ instead of
   the home folder. Additionally if the
   resulting filename is longer than 30
   characters, it cut of the first part
   and replace it by '...' so that
   the button text never gets too long.

https://bugzilla.gnome.org/show_bug.cgi?id=682129
gtk/gtkprinteroptionwidget.c